<script language="javascript" src="http://www.12301.cc/tpl/pft_resource/js/pb.js"></script>

<link rel="stylesheet" href="http://www.12301.cc/tpl/pft_resource/css/style.css"/>
<div class="resource_box">
    <div class="box_top setpadding">添加产品</div>
    <form action="">
        <div class="searchbox setpadding">
            <div class="addressbox">
                <div class="province">
                    <span class="pro_txt">省省省省省省</span>
                    <div class="setbg"><span class="triangle"></span></div>
                </div>
                <ul class="pro_list">
                    <li>福州1</li>
                    <li>福州2</li>
                    <li>福州3</li>
                    <li>福州4</li>
                    <li>福州5</li>
                    <li>福州6</li>
                    <li>福州7</li>
                    <li>福州8</li>
                    <li>福州9</li>
                    <li>福州10</li>
                </ul>
                <div class="citiesbox">
                    <div class="province">
                        <span class="pro_txt">市市市市</span>
                        <div class="setbg"><span class="triangle"></span></div>
                    </div>
                    <ul class="pro_list">
                        <li>福州1</li>
                        <li>福州2</li>
                        <li>福州3</li>
                        <li>福州4</li>
                        <li>福州5</li>
                        <li>福州6</li>
                        <li>福州7</li>
                        <li>福州8</li>
                        <li>福州9</li>
                        <li>福州10</li>
                    </ul>
                </div>
            </div>
            <div class="insearchbox">
                <div class="selecebox">
                    <span class="selecetxt">资源方名称</span>
                    <span class="triangle_a"></span>
                </div>
                <ul class="selecebox_list">
                    <li>资源方</li>
                </ul>
                <input class="searchinput" type="text" />
                <a class="searchbtn" href="javascript:;">搜索</a>
            </div>
            <div class="termbox">
                <div class="typebox">
                    <span class="setcolor_d">类型：</span>
                    <ul>
                        <li class="setbg_a">全部<em class="setcolor_b num">(<?=$total?>)</em></li>
                        <li data-ptype="A">景区<em class="setcolor_b num">(<?=$type_cnt['A']?>)</em></li>
                        <li data-ptype="B">线路<em class="setcolor_b num">(<?=$type_cnt['B']?>)</em></li>
                        <li data-ptype="C">酒店<em class="setcolor_b num">(<?=$type_cnt['C']?>)</em></li>
                    </ul>
                </div>
                <div class="levelbox">
                    <span class="setcolor_d">类型：</span>
                    <ul>
                        <li class="setbg_a">全部</li>
                        <li data-jtype="5">5A</li>
                        <li data-jtype="4">4A</li>
                        <li data-jtype="3">3A</li>
                        <li data-jtype="0">其他</li>
                    </ul>
                </div>
                <div class="levelbox_a">
                    <span class="setcolor_d">类型：</span>
                    <ul>
                        <li class="setbg_a">全部</li>
                        <li data-jtype="5">五星</li>
                        <li data-jtype="4">四星</li>
                        <li data-jtype="3">三星</li>
                        <li data-jtype="0">其他</li>
                    </ul>
                </div>
                <div class="statusbox">
                    <span class="setcolor_d">状态：</span>
                    <ul>
                        <li class="setbg_a">全部</li>
                        <li>未审核</li>
                        <li>已审核</li>
                    </ul>
                </div>
                <div class="btnbox">
                    <a class="add" href="pft_resource.html?m=add"><i class="iconfont icon_add">&#xe639;</i>  添加</a>
                    <a class="export" href="javascript:;">
                        <img class="icon_xls" src="http://www.12301.cc/web/rebuild/yyl/ordersearchpage/images/excelicon.png"/> 导出</a>
                </div>
            </div>
        </div>
    </form>

    <div class="tbbox">
        <table class="tb_addcp" border="0" cellpadding="0" cellspacing="0">
            <thead class="setcolor_d">
            <tr>
                <th id="setalign">资源方名称（ID）</th>
                <th class="setwidth">类型</th>
                <th class="setwidth">级别</th>
                <th class="setwidth">地区</th>
                <th>资源方</th>
                <th class="setwidth">状态</th>
                <th class="setwidth" >操作</th>
            </tr>
            </thead>
            <tbody>
            <?php foreach($data as $list):?>
                <tr>
                    <td class="setheight_a" id="setalign">
                        <em class="setcolor_a "><?=$list['title']?></em>（<?=$list['id']?>）
                    </td>
                    <td><?=$ptypes[$list['p_type']]?></td>
                    <td><?=$list['jtype']?></td>
                    <td><?=$list['area']?></td>
                    <td><?=$list['apply_did']?></td>
                    <td class="setcolor_e"><?=$list['verify_status']?></td>
                    <td>
                        <a class="setcolor_a" href="resource.html?m=edit&id=<?=$list['id']?>"><i class="iconfont setfont">&#xe684;</i> </a>
                        <a class="setcolor_b rm" href="javascript:;" data-id="<?=$list['id']?>"><i class="iconfont setfont">&#xe634;</i> </a>
                    </td>
                </tr>
            <?php endforeach;?>
            </tbody>
        </table>
    </div>
</div>